﻿using System;
using System.Data.SqlClient;
using System.IO;
using System.Reflection;
using System.Xml;

namespace DataCenter.Interface
{
    public abstract class BaseEntity
    {
        public static string GetXmlAttributeValue(XmlNode xnlNode, string attributeName)
        {
            XmlAttribute xalAttribute = xnlNode.Attributes[attributeName];
            if (xalAttribute == null) return null;
            if (string.IsNullOrEmpty(xalAttribute.Value))
                return null;
            return xalAttribute.Value;
        }
    }
}
